package com.neusoft.yuejian_01.service;
import com.neusoft.yuejian_01.javabean.CommentListBean;
import com.neusoft.yuejian_01.javabean.SetPictureBean;
import com.neusoft.yuejian_01.javabean.setCommentBean;

import java.util.ArrayList;
import java.util.List;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.Part;
import retrofit2.http.Query;
/**
 * Created by Administrator on 2017/10/9.
 */

public interface SetPictureService {
    //获取所有店铺信息接口
    @GET("Post/getPostlist")
    public Call<List<SetPictureBean>> getPostlist();



    @GET("Post/getPostDetail")
    public Call<SetPictureBean> getPostDetail(@Query("p_id") String p_id);


    @GET("Post/getMePostlist")
    public Call<List<SetPictureBean>> getMePostlist(@Query("u_id")int u_id);

    @GET("Post/getDashiPostlist")
    public Call<List<SetPictureBean>> getDashiSetPicturelist(@Query("c_id")int c_id);


    @GET("Post/getcomment")
    public Call<List<CommentListBean>> getCommentlist(@Query("p_id") int p_id);


    @GET("Post/getJulebuPostlist")
    public Call<List<SetPictureBean>>getJulebuSetPicturelist(@Query("c_id") int c_id);

    @GET("Post/addcomment")
    Call<setCommentBean> addcomment(@Query("u_id") int u_id,
                                     @Query("p_id") int postId,
                                    @Query("co_info") String coinfo


    );


/*    @GET("Post/getMylikepost")
    Call<List<SetPictureBean>> getmyCollectlist(
            @Query("u_id") int u_id,
            @Query("c_id") int c_id,
            @Query("flag") String flag
    );*/
}
